<div class="posts form">
	<?php echo $this->Form->create('Post', array('controller'=>'posts','action'=> 'add/'.$community_id)); ?>
	<fieldset>
		<?php
			echo $this->Form->input('description',array('label'=>'Descrição'));
			//echo $this->Form->input('status', array('type' => 'text'));
            echo $this->Form->input('user_id', array('type' => 'hidden','value'=> $this->User->id()));
			//echo $this->Form->input('creation_date');
			echo $this->Form->input('topic_id', array('type' => 'hidden'));	

			echo $this->Form->end(array('label'=>'Criar'));
		?>
	</fieldset>
	
</div>